﻿@model DateTime?
@{
    string date = Model.HasValue ? Model.Value.ToShortDateString() : DateTime.Today.ToShortDateString();
}

@Html.TextBox(string.Empty, date, new { @class = "date" })